// element-plus类型补充

import { ElDialog, ElForm, ElTree } from 'element-plus'
import { FormItemRule } from 'element-plus/packages/components/form/src/form.type'

// form组件
export type IElForm = InstanceType<typeof ElForm>

// form的校验规则
export type IFormRule = Record<string, FormItemRule[]>

// Dialog组件
export type IElDialog = InstanceType<typeof ElDialog>

// ElTree组件
export type IElTree = InstanceType<typeof ElTree>
